home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
IRIX Base Documentation 1998 November
/
IRIX 6.5.2 Base Documentation November 1998.img
/
usr
/
share
/
catman
/
p_man
/
cat3
/
Xm
/
XmListReplaceItemsUnselected.z
/
XmListReplaceItemsUnselected
Wrap
Text File
|
1998-10-30
|
4KB
|
67 lines
XXXXmmmmLLLLiiiissssttttRRRReeeeppppllllaaaacccceeeeIIIItttteeeemmmmssssUUUUnnnnsssseeeelllleeeecccctttteeeeUUUUddddNNNN((((IIII3333XXXXXXXX))))SSSSyyyyssssXXXXttttmmmmeeeeLLLLmmmmiiiissssVVVVttttRRRReeeeppppllllaaaacccceeeeIIIItttteeeemmmmssssUUUUnnnnsssseeeelllleeeecccctttteeeedddd((((3333XXXX))))
NNNNAAAAMMMMEEEE
XXXXmmmmLLLLiiiissssttttRRRReeeeppppllllaaaacccceeeeIIIItttteeeemmmmssssUUUUnnnnsssseeeelllleeeecccctttteeeedddd - A List function that replaces
items in a list
SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
#include <Xm/List.h>
vvvvooooiiiidddd XXXXmmmmLLLLiiiissssttttRRRReeeeppppllllaaaacccceeeeIIIItttteeeemmmmssssUUUUnnnnsssseeeelllleeeecccctttteeeedddd(
WWWWiiiiddddggggeeeetttt wwwwiiiiddddggggeeeetttt,
XXXXmmmmSSSSttttrrrriiiinnnngggg ****oooolllldddd____iiiitttteeeemmmmssss,
iiiinnnntttt iiiitttteeeemmmm____ccccoooouuuunnnntttt,
XXXXmmmmSSSSttttrrrriiiinnnngggg ****nnnneeeewwww____iiiitttteeeemmmmssss);
VVVVEEEERRRRSSSSIIIIOOOONNNN
This page documents Motif 2.1.
DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
XXXXmmmmLLLLiiiissssttttRRRReeeeppppllllaaaacccceeeeIIIItttteeeemmmmssssUUUUnnnnsssseeeelllleeeecccctttteeeedddd replaces each specified item in
the list with a corresponding new item. The replacement
items remain unselected, even if they currently appear in
the XXXXmmmmNNNNsssseeeelllleeeecccctttteeeeddddIIIItttteeeemmmmsssslist.
_w_i_d_g_e_t Specifies the ID of the List widget to replace
items in.
_o_l_d__i_t_e_m_s Specifies a pointer to the list items to be
replaced.
_i_t_e_m__c_o_u_n_t
Specifies the number of elements in _o_l_d__i_t_e_m_s and
_n_e_w__i_t_e_m_s. This number must be nonnegative.
_n_e_w__i_t_e_m_s Specifies a pointer to the replacement items.
Every occurrence of each element of _o_l_d__i_t_e_m_s is
replaced with the corresponding element from
_n_e_w__i_t_e_m_s. That is, the first element of _o_l_d__i_t_e_m_s
is replaced with the first element of _n_e_w__i_t_e_m_s.
The second element of _o_l_d__i_t_e_m_s is replaced with
the second element of _n_e_w__i_t_e_m_s, and so on until
_i_t_e_m__c_o_u_n_t is reached. If an element in _o_l_d__i_t_e_m_s
does not exist in the list, the corresponding
entry in _n_e_w__i_t_e_m_sis skipped.
For a complete definition of List and its associated
resources, see XXXXmmmmLLLLiiiisssstttt(3).
RRRREEEELLLLAAAATTTTEEEEDDDD
XXXXmmmmLLLLiiiisssstttt(3).
Page 1 (printed 10/24/98)